/*
 * @Description: Vuex初始化
 * @Author: tyq
 * @Date: 2021-02-21 16:42:16
 * @LastEditors: Wuyi
 * @LastEditTime: 2021-05-03 17:26:25
 */
import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    routes: []
  },
  mutations: {
    initRoutes (state, data) {
      state.routes = data
    }
  }
})
